/**
 * Title: Hyperbolic engine
 * Description: jFamilyTree Engine
 * Version: provider
 * Copyright: (c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 * Update: Mon Mar 10 00:00:00 CEST 2008
 */
package jFamilyTree.model;

import java.util.List;

/**
 * Mount point
 * 
 * @author Bernard Bou
 */
public class MountPoint
{
	static public class Mounting extends MountPoint
	{
		/**
		 * URL
		 */
		public String theURL;

		/**
		 * Mount now (for editing only)
		 */
		public Boolean now;

		/**
		 * Saved allocated half wedge
		 */
		public double theHalfWedge;

		/**
		 * Saved orientation
		 */
		public double theOrientation;

		/**
		 * Mounted node reference
		 */
		public INode theMountedNode;

		/**
		 * Constructor
		 */
		public Mounting()
		{
			super();
			theURL = null;
			theHalfWedge = 0.;
			theOrientation = 0.;
			theMountedNode = null;
		}
	}

	static public class Mounted extends MountPoint
	{
		/**
		 * Mounting node reference
		 */
		public INode theMountingNode;

		/**
		 * Mounted edges
		 */
		public List<IEdge> theMountedEdges;

		/**
		 * Constructor
		 */
		public Mounted()
		{
			super();
			theMountingNode = null;
			theMountedEdges = null;
		}
	}

	/**
	 * Constructor
	 */
	private MountPoint()
	{
	}
}
